package service;

import dao.InstitutionalDao;
import entity.Orgnazition;

import java.util.List;

public class OrgnazitionService {
    InstitutionalDao ins = new InstitutionalDao();

    public List<Orgnazition> list() {
        return ins.list();
    }

    public int selectName(String name) {
        return ins.selectName(name);
    }

    public int add(Orgnazition orgnazition) {
        return ins.add(orgnazition);
    }

    public int update(int id, int status) {
        return ins.update(id, status);
    }
}
